package com.bingxue.edu.management.education.model.resp;

import com.bingxue.edu.common.enums.LessonStatusEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalTime;

import static com.bingxue.edu.common.constant.DateConstants.FORMAT_TIME_HHmm;

/**
 * 学员课表
 *
 * @author zq
 * @since 2024/09/06 00:02
 */
// TODO 优化
@Data
@Schema(description = "学员课表")
public class StudentScheduleResp {

    @Schema(description = "上课日期")
    private LocalDate lessonDate;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = FORMAT_TIME_HHmm)
    private LocalTime startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = FORMAT_TIME_HHmm)
    private LocalTime endTime;

    @Schema(description = "班级名称")
    private String className;

    @Schema(description = "班级id")
    private String classId;

    @Schema(description = "课次状态")
    private LessonStatusEnum lessonStatus;
}
